package com.dao;

import java.util.List;

import com.entity.Employee;
import com.entity.UnitInterval;

public interface UnitIntervalDao {
	public List<UnitInterval> findAllUnitInterval();
	public List<UnitInterval> findAuditingUnitInterval();
	public UnitInterval findUnitIntervalByID(int unitID);
	public UnitInterval findUnitIntervalByUnitNoAndDeviceNo(String unitNo,String deviceNo);
	public boolean addUnitInterval(UnitInterval unitInterval);
	public boolean deleteUnitInterval(UnitInterval unitInterval);
	public void deleteUnitIntervalByUnitNo(String unitNo);
	public void deleteUnitIntervalBySubstationNo(String substationNo);
	public boolean updateUnitInterval(UnitInterval unitInterval);
	public List<UnitInterval> findUnitIntervalBySubstation(String substationNo);
	public boolean checkUnitIntervalNoAvailable(String unitNo);
}
